package org.biloxi.player.actions.playCard;

import org.biloxi.commands.CommandRepository;
import org.biloxi.commands.playcard.PlayCard.Options;
import org.biloxi.model.GameState;
import org.biloxi.model.magicobjects.MagicObject;
import org.biloxi.model.player.PlayerState;
import org.biloxi.player.actions.PlayerAction;


public class PlayCard extends PlayerAction<MagicObject> {

	@Override
	public void execute(GameState gs, PlayerState ps, CommandRepository cmd,MagicObject options) {
		cmd.playCard( new Options(ps.getPlayerID(),options) );
	}

	@Override
	public boolean isLegal(GameState gs, PlayerState ps, MagicObject options) {
		// TODO Auto-generated method stub
		return true;
	}


}
